package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.HospitalSubscribeGroupPurchaseInspectionResultsMapper;
import com.ruoyi.system.domain.HospitalSubscribeGroupPurchaseInspectionResults;
import com.ruoyi.system.service.IHospitalSubscribeGroupPurchaseInspectionResultsService;

/**
 * 团队订单检查项目结果Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-06-12
 */
@Service
public class HospitalSubscribeGroupPurchaseInspectionResultsServiceImpl implements IHospitalSubscribeGroupPurchaseInspectionResultsService 
{
    @Autowired
    private HospitalSubscribeGroupPurchaseInspectionResultsMapper hospitalSubscribeGroupPurchaseInspectionResultsMapper;

    /**
     * 查询团队订单检查项目结果
     * 
     * @param id 团队订单检查项目结果主键
     * @return 团队订单检查项目结果
     */
    @Override
    public HospitalSubscribeGroupPurchaseInspectionResults selectHospitalSubscribeGroupPurchaseInspectionResultsById(String id)
    {
        return hospitalSubscribeGroupPurchaseInspectionResultsMapper.selectHospitalSubscribeGroupPurchaseInspectionResultsById(id);
    }

    /**
     * 查询团队订单检查项目结果列表
     * 
     * @param hospitalSubscribeGroupPurchaseInspectionResults 团队订单检查项目结果
     * @return 团队订单检查项目结果
     */
    @Override
    public List<HospitalSubscribeGroupPurchaseInspectionResults> selectHospitalSubscribeGroupPurchaseInspectionResultsList(HospitalSubscribeGroupPurchaseInspectionResults hospitalSubscribeGroupPurchaseInspectionResults)
    {
        return hospitalSubscribeGroupPurchaseInspectionResultsMapper.selectHospitalSubscribeGroupPurchaseInspectionResultsList(hospitalSubscribeGroupPurchaseInspectionResults);
    }

    /**
     * 新增团队订单检查项目结果
     * 
     * @param hospitalSubscribeGroupPurchaseInspectionResults 团队订单检查项目结果
     * @return 结果
     */
    @Override
    public int insertHospitalSubscribeGroupPurchaseInspectionResults(HospitalSubscribeGroupPurchaseInspectionResults hospitalSubscribeGroupPurchaseInspectionResults)
    {
        return hospitalSubscribeGroupPurchaseInspectionResultsMapper.insertHospitalSubscribeGroupPurchaseInspectionResults(hospitalSubscribeGroupPurchaseInspectionResults);
    }

    /**
     * 修改团队订单检查项目结果
     * 
     * @param hospitalSubscribeGroupPurchaseInspectionResults 团队订单检查项目结果
     * @return 结果
     */
    @Override
    public int updateHospitalSubscribeGroupPurchaseInspectionResults(HospitalSubscribeGroupPurchaseInspectionResults hospitalSubscribeGroupPurchaseInspectionResults)
    {
        return hospitalSubscribeGroupPurchaseInspectionResultsMapper.updateHospitalSubscribeGroupPurchaseInspectionResults(hospitalSubscribeGroupPurchaseInspectionResults);
    }

    /**
     * 批量删除团队订单检查项目结果
     * 
     * @param ids 需要删除的团队订单检查项目结果主键
     * @return 结果
     */
    @Override
    public int deleteHospitalSubscribeGroupPurchaseInspectionResultsByIds(String[] ids)
    {
        return hospitalSubscribeGroupPurchaseInspectionResultsMapper.deleteHospitalSubscribeGroupPurchaseInspectionResultsByIds(ids);
    }

    /**
     * 删除团队订单检查项目结果信息
     * 
     * @param id 团队订单检查项目结果主键
     * @return 结果
     */
    @Override
    public int deleteHospitalSubscribeGroupPurchaseInspectionResultsById(String id)
    {
        return hospitalSubscribeGroupPurchaseInspectionResultsMapper.deleteHospitalSubscribeGroupPurchaseInspectionResultsById(id);
    }
}
